RewriteEngine on 
 # Passthrough for existing files and directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.+) - [PT,L]
 # Everything else should go through Textpattern
RewriteRule ^(.*)$ getfile.php?hash=$1	[L]